<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>砍价团</title>
    <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0, user-scalable=no">
    <script src="/static/js/jquery-1.11.1.min.js"></script>
    <script src="/static/js/clipboard.min.js"></script>
    <style>
        @media (min-width:0px){
            html{font-size:12px;}
        }
        @media (min-width: 320px){
            html{font-size:12px;}
        }
        @media (min-width: 340px){
            html{font-size:13px;}
        }
        @media (min-width: 360px){
            html{font-size:14px;}
        }
        @media (min-width: 380px){
            html{font-size:15px;}
        }
        @media (min-width: 400px){
            html{font-size:15px;}
        }
        @media (min-width: 420px){
            html{font-size:16px;}
        }
        *{margin: 0;padding: 0}
        img{
            width:100%;
            height: 100%;
        }
        #big{
            position: fixed;
            left: 0;
            top:0;
            width: 100%;
            height: 100%;
        }
    </style>
</head>
<body>

    <div id="big" data-clipboard-text="{$bargain}">
         <img src = '/static/image/bargain.png'/>
    </div>
</body>
<script>

    $('#big').click(function () {
        var clipboard = new ClipboardJS('#big');
        clipboard.on('success', function(e) {

        });

        if(/android/i.test(navigator.userAgent)){

            window.location.href = "//www.jb51.net";

        }

        if(/(iPhone|iPad|iPod|iOS)/i.test(navigator.userAgent)){

            window.location.href = "http://www.qq.com";

        }
    })

</script>
</html>